package org.springblade.app.feign;

import lombok.extern.slf4j.Slf4j;
import org.springblade.applicationapi.entity.App;
import org.springblade.core.tool.api.R;
import org.springframework.stereotype.Component;

/**
 * @author zhangyr
 * @version 1.0
 * @date 2022-08-25 10:36
 * @description
 */
@Slf4j
@Component
public class IAppClientFallback implements IAppClient {
	@Override
	public R<App> addApp(App app) {
		return R.fail("远程操作失败！");
	}

	@Override
	public R<App> refreshSecret(String appid) {
		return R.fail("远程操作失败！");
	}

	@Override
	public R deleteApp(String ids) {
		return R.fail("远程操作失败！");
	}
}
